#pragma once
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <map>
#include <CString>
#include <stdio.h>


#define LINE_LENGTH 100000

using namespace std;



class Preprocessing
{
public:
	Preprocessing(void);
	~Preprocessing(void);
	vector<vector<string>> datasetString;
	vector<vector<double>> datasetRes;
	vector<vector<string>> datasetStringClean;
	void readFile(string Path);
	void setRowAndColunm(int row,int column);
	void dataClean();
	void dataRecognize();
	void writeFile(string path);
	void output();
	int attributeNum;
private:
	int row;
	int column;
	int splitColumn;
	int check(const char *s); 

};
